package cn.mingfancloud.基础知识.运算符;

public class BitwiseDemo {
    public static void main(String[] args) {
        int a = 24;
        System.out.println(a + "右移两位的结果是：" + (a >> 2));
        int b = -16;
        System.out.println(b + "左移三位的结果是：" + (b << 3));
        int c = -256;
        System.out.println(c + "无符号右移两位的结果是：" + (c >>> 2));
    }
}
